package edu.vital.energy.longevity.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sys_menu")
public class SysMenu {
    
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private String path;
    
    private String name;
    
    private String component;
    
    private String redirect;
    
    private Integer parentId;
    
    private Integer menuType;
    
    private String icon;
    
    private String titleZh;
    
    private String titleEn;
    
    private String frameSrc;
    
    private Boolean frameBlank;
    
    private Integer orderNum;
    
    private Integer status;
    
    @TableLogic
    private Integer isDeleted;
    
    private String createdBy;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    
    private String updatedBy;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;
}